package com.liner.homework.first;

public class InnerTest {
    public static void main(String[] args) {
        Aoo aoo1 = new Aoo(){};
        Aoo aoo2 = new Aoo(){};


        Inter inter1 = new Inter(){

            @Override
            public void show() {
                System.out.println("show1");
            }
        };

         Inter inter2 = new Inter(){

            @Override
            public void show() {
                System.out.println("show2");
            }
        };

        inter1.show();
        inter2.show();

    }

}

abstract class Aoo {

}

interface Inter{
    void show();
}
